
.box {
    width: 100vw;
    height: 100vh;
    background-color: black;
    overflow: none;
}
/* 头部 */
.top {
    width: 100%;
    height: 70px;
    background-color: red;
}
/* 中间 */
.center {
    width: 100%;
    height: 480px;
    background-color: yellow;
}

/* 轮播图 */
.Carousel_image {
    height: 420px;
    background: pink;
}
/* 进入设计 */
.Enter_Design {
    height: 60px;
    background: #efeeee;
    line-height: 70px;
     text-align: center;
}

.Enter_Design span{
   margin: 0 20px;
   
}

/* 底部内容 */
.bottom {
    /* height: 1000px; */
    background-color: #ffffff;
}

/* 右侧固定栏 */
.Right_fixed {
    width: 45px;
    height: 100vh;
    background-color: #ffffff;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
    border-left: 1px solid #cccccc;
}
.Text {
    width: 100%;
    background: pink;
}

.Text_btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.Text_btn button {
    width: 45%;
    background: #ffe9cc;
    color: orange;
    border: none;
    font-weight: bold;
}

.Text_botton {
    width: 100%;
 
    background: skyblue;
   justify-content: space-between;
    display: flex;            /* 使用 Flexbox */
  flex-wrap: wrap;         /* 允许换行 */
  text-align: center;
}

.Text_botton span {
    width: 45%;
    height: 90px;
    border: solid 1px #ccc;
    border-radius: 5px;
line-height: 90px;
margin-top: 20px;

}
.OnlineDesign{
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    position: relative;
    font-size: 14px;
}
.design_top{
    width: 100%;
    height: 70px;
    position: absolute;
    top: 0;
    background: pink;
}
.design_left{
    width: 5%;
    height: calc(100vh-70px);
    background: white;
    margin-top: 70px;
    
}
.design_center{
    width: 75%;
       height: calc(100vh-70px);
    background: #f1f3f7;
}
.design_right{
    width: 20%;
      height: calc(100vh-70px);
    background: white;
    margin-top: 70px;
}
.chat-container {
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 600px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background:#ccc;
}
.chat-container h2{
    text-align: center;
}
.messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.message {
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
}

.user-message {
    background-color: #e1f5fe;
    align-self: flex-end; /* 用户消息靠右 */
}

.bot-message {
    background-color: #ffe0b2;
    align-self: flex-start; /* 使机器人消息靠左 */
}

.input-container {
    display: flex;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #ccc;
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.send-button {
    padding: 10px 15px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.send-button:hover {
    background-color: #0056b3;
}
